{if isset($type)}
	{if $type=='menu_cabinet'}
		<div class="block_blue">
			<div class="block_caption">
				<div class="ltw f0">&nbsp;</div>
				<div class="rtw f0">&nbsp;</div>
				<div class="block_caption_center">мой кабинет</div>
			</div>
			<div class="block_submenu block_beige">
				<div class="submenu_item bb">
					<a href="#" class="for_div"><div>Заказы</div></a>
				</div>
				<div class="submenu_item bb">
					<a href="#" class="for_div"><div>Анкета</div></a>
				</div>
				<div class="submenu_item bb">
					<a href="#" class="for_div"><div>Товары</div></a>
				</div>
				<div class="submenu_item bb">
					<a href="#" class="for_div"><div>Моя статистика</div></a>
				</div>
				<div class="submenu_item">
					<a href="#" class="for_div"><div>Моё расписание</div></a>
				</div>
				<div class="lbw">&nbsp;</div>
				<div class="rbw">&nbsp;</div>
			</div>
		</div>
	{else}
		{if $type=='menu_profile'}
			<div class="block_blue">
				<div class="block_caption">
					<div class="ltw f0">&nbsp;</div>
					<div class="rtw f0">&nbsp;</div>
					<div class="block_caption_center">мой кабинет</div>
				</div>
				<div class="block_submenu block_beige">
					{if !isset($is_consultant)}
						<div class="submenu_item bb {if $request.controller=='index'}submenu_current{/if}">
							<a href="/profile/" class="for_div"><div>Главная страница кабинета</div></a>
						</div>
						<div class="submenu_item bb {if $request.controller=='form'}submenu_current{/if}">
							<a href="/profile/form/" class="for_div"><div>Моя анкета</div></a>
						</div>
						<div class="submenu_item bb {if $request.controller=='wallet'}submenu_current{/if}">
							<a href="/profile/wallet/" class="for_div"><div>Мой счет</div></a>
						</div>
					{else}
						<div class="submenu_item bb {if $request.controller=='index'}submenu_current{/if}">
							<a href="/cabinet/" class="for_div"><div>Главная страница кабинета</div></a>
						</div>
						<div class="submenu_item bb {if $request.controller=='orders'}submenu_current{/if}">
							<a href="/cabinet/orders/" class="for_div"><div>Мои заказы</div></a>
						</div>
						<div class="submenu_item {if $request.controller=='timetable'}submenu_current{/if}">
							<a href="/cabinet/timetable/" class="for_div"><div>Мое расписание</div></a>
						</div>
					{/if}
					{*<div class="submenu_item bb">
						<a href="#" class="for_div"><div>Мои заказы</div></a>
					</div>
					<div class="submenu_item">
						<a href="#" class="for_div"><div>Мои подписки</div></a>
					</div>

					<div class="submenu_item">
						<a href="#" class="for_div"><div>Мои консультанты</div></a>
					</div>
					<div class="submenu_item">
						<a href="#" class="for_div"><div>Моя фотогалерея</div></a>
					</div>
					<div class="submenu_item">
						<a href="#" class="for_div"><div>Мои сообщения</div></a>
					</div>
					<div class="submenu_item">
						<a href="#" class="for_div"><div>Мой дневник</div></a>
					</div>
					*}
					<div class="lbw">&nbsp;</div>
					<div class="rbw">&nbsp;</div>
				</div>
			</div>
		{else}
			<div class="block_blue">
				<div class="block_caption">
					<div class="ltw f0">&nbsp;</div>
					<div class="rtw f0">&nbsp;</div>
					<div class="block_caption_center">ЧТО ВАС ИНТЕРЕСУЕТ ?</div>
				</div>
				<div class="block_submenu block_beige">
					{foreach $consultation_theme item}
						<div class="submenu_item {if !$.foreach.default.last}bb{/if}{if $request.theme==$item->key} submenu_current{/if}">
							<a href="{$item->url}" class="for_div"><div>{$item->name}</div></a>
						</div>
					{/foreach}
					<div class="lbw">&nbsp;</div>
					<div class="rbw">&nbsp;</div>
				</div>
			</div>
		{/if}
	{/if}
{else}
	<div class="block_menu">
		<div class="rtw">&nbsp;</div>
		<div class="ltw">&nbsp;</div>
		{foreach $consultant_specialization item}
		<div class="menu_item bb">
			<a href="{$item->url}"><div>{$item->name}</div></a>
		</div>
		{/foreach}
		<div class="menu_item">
			<a href="/library"><div>Библиотека</div></a>
		</div>
		<div class="lbw">&nbsp;</div>
		<div class="rbw">&nbsp;</div>
	</div>
{/if}